package com.gateway.plugin.base.convert;

import com.gateway.common.dto.ApiDefinition;
import com.gateway.common.dto.sync.ApiSyncData;

/**
 * @program: api-gateway
 * @description:
 * @author: YuKai Fan
 * @create: 2025/2/6 10:45
 **/
@FunctionalInterface
public interface ApiDataConvert {

    /**
     * convert
     * @param apiSyncData the api sync data
     * @return
     */
    ApiDefinition apply(ApiSyncData apiSyncData);
}
